package com.ctrip.ec.biz.entity.sms;
import com.ctrip.ec.dal.DbColumn;
import com.ctrip.ec.dal.DbTable;
import com.ctrip.ec.dal.EntityBase;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.sql.Timestamp;
@DbTable("e_sms_login")
public class SmsLoginEntity extends EntityBase {
    @DbColumn("id")
    private Long id;
    @DbColumn("mobile")
    private String mobile;
    @DbColumn("client_ip")
    private String clientIp;
    @DbColumn("code")
    private String code;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",locale = "zh" ,timezone="GMT+8")
    @DbColumn("create_time")
    private Timestamp createTime;
    @DbColumn("in_use")
    private Boolean inUse;
    public  Long getId(){
        return this.id;
    }
    public void setId(Long id){
        this.id = id;
    }
    public  String getMobile(){
        return this.mobile;
    }
    public void setMobile(String mobile){
        this.mobile = mobile;
    }
    public  String getClientIp(){
        return this.clientIp;
    }
    public void setClientIp(String clientIp){
        this.clientIp = clientIp;
    }
    public  String getCode(){
        return this.code;
    }
    public void setCode(String code){
        this.code = code;
    }
    public  Timestamp getCreateTime(){
        return this.createTime;
    }
    public void setCreateTime(Timestamp createTime){
        this.createTime = createTime;
    }
    public  Boolean getInUse(){
        return this.inUse;
    }
    public void setInUse(Boolean inUse){
        this.inUse = inUse;
    }
}